package zhieasy.cn.persistence.mapper.common;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import zhieasy.cn.model.common.RolePermission;

import java.util.List;

@Mapper
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

        //批量新增权限
        boolean saveRolePermissions(@Param("roleId") Long roleId, @Param("perIds") List<Long> perIds);

}
